package com.gitee.swsk33.catservice.service;

import com.gitee.swsk33.catentity.dataobject.Cat;
import com.gitee.swsk33.catentity.model.Result;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CatService {

	Result<Cat> getById(int id);

	Result<List<Cat>> getAll();

}